package main

import "fmt"

// 空接口
type d interface{}

type Stu struct {
	Name string
}

func ShowName(obj d) {
	fmt.Println(obj)
}
func main() {
	stu1 := Stu{
		Name: "小明",
	}

	stu2 := Stu{
		Name: "小红",
	}

	ShowName(stu1)
	ShowName(stu2)
	ShowName(123)
}
